package cn.wx.scholar.neo4j.entity.dto;

import java.util.Arrays;
import java.util.List;

import org.apache.commons.lang.StringUtils;

public class PaperDTO {
	
	private Long paperId;
	private String fos;
	private Integer year;
	
	public Long getPaperId() {
		return paperId;
	}
	public void setPaperId(Long paperId) {
		this.paperId = paperId;
	}
	public String getFos() {
		return fos;
	}
	public void setFos(String fos) {
		this.fos = fos;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	
	public List<String> getFos_(){
		if(StringUtils.isBlank(fos)){
			return null;
		}
		return Arrays.asList(fos.toLowerCase().split(","));
	}
}
